<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('所在区域')}:</label>
        <div class="col-xs-12 col-sm-8">
            <label class="control-label">{$row.province.name|htmlentities}</label>
            <label class="control-label">{$row.city.name|htmlentities}</label>
            <label class="control-label">{$row.area.name|htmlentities}</label>

        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Realname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <label class="control-label">{$row.realname|htmlentities}</label>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Duration')}:</label>
        <div class="col-xs-12 col-sm-8">
            <label class="control-label">{$row.duration|htmlentities}</label>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否安装过充电桩')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::radios('row[is_install]', ['0'=>'否', '1'=>'是'], $row.is_install, ['data-rule'=>'required','disabled'=>'disabled'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Idnumber')}:</label>
        <div class="col-xs-12 col-sm-8">
            <label class="control-label">{$row.idnumber|htmlentities}</label>
            
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Idcard_r')}:</label>
        <div class="col-xs-12 col-sm-8">
            <ul class="row list-inline faupload-preview" id="p-idcard_r">
                <li class="col-xs-3">
                    <a href="{$row.idcard_r}" data-url="{$row.idcard_r}" target="_blank" class="thumbnail">
                        <img src="{$row.idcard_r}" onerror="this.src='/xtGwSBDCQl.php/ajax/icon?suffix=png';this.onerror=null;" class="img-responsive">
                    </a>
                </li>
            </ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Idcard_g')}:</label>
        <div class="col-xs-12 col-sm-8">
            <ul class="row list-inline faupload-preview" id="p-idcard_g">
                <li class="col-xs-3">
                    <a href="{$row.idcard_g}" data-url="{$row.idcard_g}" target="_blank" class="thumbnail">
                        <img src="{$row.idcard_g}" onerror="this.src='/xtGwSBDCQl.php/ajax/icon?suffix=png';this.onerror=null;" class="img-responsive">
                    </a>
                </li>
            </ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Electrician')}:</label>
        <div class="col-xs-12 col-sm-8">
            <ul class="row list-inline faupload-preview" id="p-electrician">
                {php}$electrician = explode(',',$row['electrician']);{/php}

                {foreach name="electrician" item="vo"}
                <li class="col-xs-3">
                    <a href="{$vo}" data-url="{$vo}" target="_blank" class="thumbnail">
                        <img src="{$vo}" onerror="this.src='/xtGwSBDCQl.php/ajax/icon?suffix=png';this.onerror=null;" class="img-responsive">
                    </a>
                </li>
                {/foreach}
            </ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('状态')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::radios('row[status]', ['1'=>'通过', '2'=>'拒绝'], $row.status, ['data-rule'=>'required'])}
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
